﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<System.Collections.Generic.IEnumerable<Uber.Core.Model.Notification>>" %>
<% foreach (var o in Model)
   {
%>
<li <%if(!o.IsRead) Response.Write("class='unread'"); %>>
<% Html.RenderPartial("row",o); %>
</li>
<%
   } 
   if(Model.Count() == 0) {%>No notifications present at the moment<%}
   %>
